package com.tec.security.utils.security.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * @TableName user_key
 */
@TableName(value ="user_key")
@Data
public class UserKey implements Serializable {
    /**
     * 
     */
    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @ApiModelProperty("uuid")
    @TableField(value = "uuid")
    private String uuid;

    /**
     * 
     */
    @ApiModelProperty("用户账号")
    @TableField(value = "username")
    private String username;

    /**
     * 
     */
    @ApiModelProperty("用户密码")
    @TableField(value = "password")
    private String password;

    /**
     * 
     */
    @TableField(value = "enabled")
    private boolean enabled;

    /**
     *
     */
    @TableField(value = "email")
    private String email;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}